package com.itheima.day07_Collection;

import java.util.HashMap;

public class MapTest2 {
    public static void main(String[] args) {
        HashMap<String, Integer> m = new HashMap<>();
        m.put("柳岩",2100);
        m.put("张亮",1700);
        m.put("诸葛亮",1800);
        m.put("灭绝师太",2600);
        m.put("东放不败",3800);
        System.out.println(m);
        m.put("柳岩",2400);
        System.out.println(m);
    }
}
